#include "junix.h"

class base {
public:
base ():i(44){}
void print () {
std::cout<<i<<std::endl;
}
int i;
private:
int t;
};

class derived:public base {
public:
	derived ():k(11),i(22) {}
	using base::t;
private:
int k;
using base::i;
};

int main (){
	derived d;
	base b ;
	b = d;
	b.print();
}
